<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
	<head>
		<link href="css/index.css" rel="stylesheet" type="text/css">
		<link type="text/css" href="http://jqueryui.com/latest/themes/base/ui.all.css" rel="stylesheet" />
	 
		<title>FanFictionDownLoader (fanfiction.net, fictionalley, ficwad to epub and HTML)</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<script src="/js/jquery-1.3.2.js"></script>
		<script src="/js/fdownloader.js"></script>
		
		<script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.core.js"></script>
	    <script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.progressbar.js"></script>
	  
	</head>
	<body>
		<div id='main'>
			<h1>
				<a href="/" style="text-decoration: none; color: black;">FanFictionDownLoader</a>
			</h1>
				
<!--			<form action="/fdown" method="post"> -->
				<div id='urlbox'>
					<div id='greeting'>
						Hi, {{ nickname }}! This is a fan fiction downloader, which makes reading stories from various websites much easier. Please paste a URL of the <em>first chapter</em> in the box to start. Alternatively, see your personal list of <a href="/recent">previously downloaded fanfics</a>.
					</div>
					<input type="text" id='url' name="url" size="50" value='{{ url }}'>
					<div style="margin-top: 0.5em;">
					Ebook format &nbsp;<select name="format" id="format">
												<option value='epub'>ePub</option>
												<option value='html'>HTML</option>
											</select>
					</div>
					
					<div id='error' style='color: red'>

					</div>
					
					
					
				</div>
				
				<div id='yourfile' style='display:none'>
				</div>
				
				<div id='typebox'>
				</div>
				
				<h3>
					Login and Password
				</h3>
				<div id='logpassword'>
					If the story requires a login and password to download (e.g. marked as Mature on FFA), you may need to provide your credentials to download it, otherwise just leave it empty
				</div>
				<div id='logpasswordtable'>
					<div class='fieldandlabel'>
						<div class='label'>Login</div>
						<div class='field'><input type='text' name='login' id='login' size='50'></div>
					</div>
					
					<div class='fieldandlabel'>
						<div class='label'>Password</div>
						<div class='field'><input type='password' id='password' name='password' size='50'></div>
					</div>
				</div>
				<div id='submitbtn'>
					<span id='submit_button'><button onclick='downloadFanfic();'>Download</button></span>
					<span id='ajax_loader' style='display:none'><img src="/static/ajax-loader.gif"></span>
				</div>

				
				<div id="progressbar">
					
				</div>
				<div id='helpbox'>
				Few things to know, which will make your life substantially easier:
				<ol>
					<li>Small <a href="http://www.sigizmund.com/reading-fanfiction-off-line-in-stanza-and-oth">post written by me</a> &mdash; how to read fiction in Stanza or any other ebook reader. </a></li>
					<li>Currently we support fanfiction.net, fictionpress.com, fanficauthors.net and ficwad.com</li>
					<li>Paste a URL of the first chapter of the fanfic, not the index page</li>
					<li>Fics with a single chapter are not supported (you can just copy and paste it)</li>
					<li>Stories which are too long may not be downloaded correctly and application will report a time-out error &mdash; this is a limitation which is currently imposed by Google AppEngine on a long-running activities</li>
					<li>FicWad support is somewhat flaky &mdash; if you feel it doesn't work for you, send all the details to me</li>
					<li>You can download fanfics and store them for 'later' by just downloading them and visiting <a href="/recent">recent downloads</a> section, but in future they will be deleted after 5 days to save the space</li>
					<li>If Downloader simply opens a download file window rather than saves the fanfic and gives you a link, it means it is too large to save in the database and you need to download it straight away</li>
					<li>If you think that something that should work in fact doesn't, drop me a mail to <a href='mailto:sigizmund@gmail.com'>sigizmund@gmail.com</a></li>
				</ol>
				Otherwise, just have fun, and if you want to say thank you &mdash; use the email above.
				</div>
				<div style='text-align: center'>
					<img src="http://code.google.com/appengine/images/appengine-silver-120x30.gif"
					alt="Powered by Google App Engine" />
					<br/><br/>
	This is a web front-end to <A href="http://code.google.com/p/fanficdownloader/">FanFictionDownLoader</a><br/>
	Copyright &copy; Fanficdownloader team
				</div>
<!--			</form> -->
		</div>
		<script type="text/javascript">
		var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
		document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
		</script>
		<script type="text/javascript">
		try {
		var pageTracker = _gat._getTracker("UA-12136939-1");
		pageTracker._trackPageview();
		} catch(err) {}</script>
	</body>
</html>
